<?php

class Catalog_Bootstrap extends Zend_Application_Module_Bootstrap
{



public function _initRoutes() {
		$front = Zend_Controller_Front::getInstance ();
		$router = $front->getRouter ();
		
		
		
		$router->addRoute ('catalogList' , new Zend_Controller_Router_Route ( 
		'shop/:alias/',array ('module' => 'catalog', 'controller' => 'index', 'action' => 'list')) 
			);	
			
		$router->addRoute ('catalogItem' , new Zend_Controller_Router_Route ( 
		'shop/:alias/:wares/*',array ('module' => 'catalog', 'controller' => 'index', 'action' => 'item')) 
			);
		
		
	}
	
	
}
